Replication of Cooperman, Alicia. “(Un)Natural Disasters: Electoral Cycles in Disaster Relief”

Analysis performed in R version 4.0.2 (2020-06-22) 
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7.

Note: use “Cooperman 2021 Replication.Rproj” to avoid challenges with working directory. Codes can be run independently.

Data files:

cooperman_2021_data.Rdata
o	main data for paper and most supplementary analyses
cooperman_2021_SI_gov.Rdata
o	data for SI with vote share for governor candidates in 2002, 2006, 2010
cooperman_2021_SI_RDD1.Rdata; cooperman_2021_SI_RDD2.Rdata
o	data for SI analyses conducting regression discontinuity
cooperman_2021_precip_year.Rdata
o	additional data on precipitation for municipalities during 1981-2012 for randomization inference in supplementary materials

See main article and supplementary materials for information about data sources. More information on data processing and cleaning available on request.

Code for tables and figures in main article:

1.	cooperman_2021_main.R
-	This code uses cooperman_2021_data.Rdata
-	This code sources functions in cooperman_2021_functions.R

Code for tables and figures in supplementary materials: 

2. cooperman_2021_SI.R
-	This code uses cooperman_2021_data.Rdata
-	This code sources functions in cooperman_2021_functions.R
-	Produces Tables 1-14, 18-19, 21
-	Produces Figures 2-5, 7-9

3. cooperman_2021_SI_gov.R
-	This code uses cooperman_2021_SI_gov.Rdata
-	Produces Tables 15 and 16

4. cooperman_2021_SI_RDD.R
-	This code uses cooperman_2021_SI_RDD1.Rdata and cooperman_2021_SI_RDD2.Rdata
-	Conducts analyses used to produce Table 17

5. cooperman_2021_SI_RI.R
-	This code uses cooperman_2021_data.Rdata
-	This code merges additional data from cooperman_2021_precip_year.Rdata
-	Produces Table 20, Figure 6
-	NOTE: This code takes time to run, due to the permutations. On my machine it took 10 minutes.

